//
/***********************************************************
             File name:      main.c
             Author:         Bitat (陆叁柒)
             Email :         Bitat@qq.com
             Gitee :         https://gitee.com/bitat
             CSDN  :         https://blog.csdn.net/bitat 
             History:        2023/2/7
************************************************************/
    

#include <stdio.h>

int main()
{
    int a = 0;
    int b = 0;
    printf("请输入俩个数字进行交换:>\n");
    scanf("%d %d",&a,&b);
    printf("a = %d b = %d\n",a,b);
    a = a ^ b;
    b = a ^ b;
    a = a ^ b;
    printf("a = %d b = %d\n",a,b);
    return 0;
}
